package com.qs.education.service;

import com.qs.education.bean.api.PageBean;
import com.qs.education.bean.api.ResponseListBean;
import com.qs.education.bean.beans.EducationStudentResponse;
import com.qs.education.bean.entity.EducationStudent;

/**
 * 
 * @class IStudentService
 * @author Jason
 * @description
 * @date Nov 6, 2018 9:23:11 AM
 */
public interface IStudentService {

	

	/**
	 *    查询所有学生
	 * @Description
	 * @author Jason
	 * @param pageSize 
	 * @param currentPage 
	 * @param student 
	 * @date Nov 6, 2018
	 * @return
	 */
	PageBean getEducationStudent(EducationStudent student, Integer currentPage, Integer pageSize);

	/**
	 * @Description 根据ID删除学生
	 * @author Jason
	 * @date Nov 6, 2018
	 * @param studentId
	 * @return
	 */
	EducationStudentResponse deleteStudentById(Integer studentId);

	/**
	 * 
	 * @Description 根据ID查询学生
	 * @author Jason
	 * @date Nov 7, 2018
	 * @param studentId
	 * @return
	 */
	EducationStudentResponse findStudentById(Integer studentId);

	/**
	 * 
	 * @Description 修改学生信息
	 * @author Jason
	 * @date Nov 7, 2018
	 * @param educationStudent
	 * @return
	 */
	EducationStudentResponse updateStudent(EducationStudent educationStudent);

	
	/**
	 * @Description 添加学生信息
	 * @author Jason
	 * @date Nov 9, 2018
	 * @param educationStudent
	 * @return
	 */
	EducationStudentResponse addStudent(EducationStudent educationStudent);

	/**
	 * @Description 根据条件搜索学生
	 * @author Jason
	 * @date Nov 12, 2018
	 * @param student
	 * @return
	 */
	ResponseListBean<EducationStudent> findStudentByCondition(EducationStudent student);

}
